// 导入axios实例
import http from './request';

// 接口1：关注
export const focus = (data={})=> {
    return http.get('home/ffeeds/0/20',{params: data})
}

//接口2：推荐
export const recommend = (data={})=> {
    return http.get('home/recommended/0/10',{params: data})
}

//接口3：笔记
export const note = (data={})=> {
    return http.get('home/notes/0/20',{params: data})
}

//接口4：视频
export const video = (data={})=> {
    return http.get('home/recommended/0/10',{params: data})
}

//接口5：活动
export const active = (data={})=> {
    return http.get('home/events/getlists?offset=0limit=20',{params: data})
}

//接口6：热门搜索
export const search_hot = (data={})=> {
    return http.get('recipe/search/suggests',{params: data})
}



